package com.villaday.idf.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Unique;

/**
 * Created by tudou on 2018/10/18.
 */


@Entity
public class BournSearchhistory {
    @Id(autoincrement = true)
    private Long id;
    @Unique
    private String name;
    private long date;

    public BournSearchhistory(String name, long date) {
        this.name = name;
        this.date = date;
    }

    @Generated(hash = 1008429582)
    public BournSearchhistory(Long id, String name, long date) {
        this.id = id;
        this.name = name;
        this.date = date;
    }

    @Generated(hash = 1990940906)
    public BournSearchhistory() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getDate() {
        return this.date;
    }

    public void setDate(long date) {
        this.date = date;
    }

    
}
